package com.jz.learning.demo.DEMO_01;

import com.jz.learning.demo.DEMO_01.config.AppConfig;
import com.jz.learning.demo.DEMO_01.pojo.Dog;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class App {

	public static void main(String[] args) {
		ApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class);

		Dog dog = applicationContext.getBean(Dog.class);
	}
}
